package sg.edu.nus.iss.phoenix.scheduledprogram.delegate;

import java.util.List;

import sg.edu.nus.iss.phoenix.schedule.entity.AnnualSchedule;
import sg.edu.nus.iss.phoenix.schedule.entity.ProgramSlot;
import sg.edu.nus.iss.phoenix.schedule.entity.WeeklySchedule;
import sg.edu.nus.iss.phoenix.scheduledprogram.service.ReviewSelectScheduledProgramService;

/**
 * 
 * @author Wang Shunde
 * 
 */
public class ReviewSelectScheduledProgramDelegate {
	private ReviewSelectScheduledProgramService scheduledProgramService;

	public ReviewSelectScheduledProgramDelegate() {
		scheduledProgramService = new ReviewSelectScheduledProgramService();
	}

	public AnnualSchedule searchAnnualSchedule(int schedule_year) {
		return scheduledProgramService.searchAnnualSchedule(schedule_year);
	}

	public List<WeeklySchedule> searchWeeklySchedule(
			int selectedAnnualScheduleId) {
		return scheduledProgramService
				.searchWeeklySchedule(selectedAnnualScheduleId);
	}

	public List<ProgramSlot> searchProgramSlot(long selectedWeeklyScheduleId) {
		return scheduledProgramService
				.searchProgramSlot(selectedWeeklyScheduleId);
	}

	public List<AnnualSchedule> searchAllAnnualSchedule() {
		return scheduledProgramService.searchAllAnnualSchedule();
	}
}
